Nogl implementation#2
Conversation
|
Very cool!! I think a lot of this may be out of scope for this module, though, which is just trying to be specific to webgl. What about moving the core non-glsl logic to another module like 'js-glsl'? Then you can build other modules on top of it. Thanks! Sent from my iPhone
|
|
@mattdesl nice idea, thanks. Guess I will do that. I have already a bunch of things which are able to be implemented with glsl-js stackgl/glsl-transpiler#9 |
|
Moved nogl logic to nogl-shader-output |
|
Obsolete due to #3 |
Hello @mattdesl!
Some changes:
var draw = Draw(what, how). It is compatible with old API, but now user can simply pass a fragment shader source:var draw = create(glslify('shader.frag')).draw, now it is 2-3 times faster in some cases.I know, it is quite big change, and you may not like changed code style/test runner, just wanted to know your opinion and maybe ideas for a new package name then. Maybe
gl-shader-processorgl-shader-draw?Thanks anyways.